package phoenix.web.locators.naughtyfever;

import org.openqa.selenium.By;

import phoenix.web.locators.base.SearchPageLocatorsBase;

/**
 * SearchPage locators for NaughtyFever
 */
public class SearchPageLocators extends SearchPageLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public SearchPageLocators()
	{
		/**
		 * Search
		 */
		blockUserList = By.id("user-list");
		linkScreenname = By.xpath("//a[@class='link-wrapper']");

		selectGender = By.xpath("//div[@id='search-form-select-gender']/span");
		selectLocation = By.xpath("//input[@class='location']");
		btnRadius = By.xpath("//input[@id='search-form-location-value']");
		txtUserCounty = By.xpath("//div[@class='b-location']/div/span[@class='country']");
		btnSearch = By.xpath("//a[@id='btn-search']");
		blockLocation = By.cssSelector("div.b-location");
		txtUserListAge = By.xpath("//div[@class='b-user-info']/div[@class='b-age']");

		// Counters
		blockMessagedMeCounter = By.xpath("//a[@class='site-nav-item site-nav-messenger']//span[@class='counter active']");
		blockBrowsedMeCounter = By.xpath("//a[@class='site-nav-item site-nav-views']//span[@class='counter active']");
		blockWinkedMeCounter = By.xpath("//a[@class='site-nav-item site-nav-winks']//span[@class='counter active']");

		// Pop-up alerts
		blockMessageAlert = By.xpath("//div[@class='event-notifier mail active']//div[@id='notification']");
		blockWinkAlert = By.xpath("//div[@class='event-notifier wink active']//div[@id='notification']");
		blockBrowseAlert = By.xpath("//div[@class='event-notifier view active']//div[@id='notification']");
	}
}
